package com.yanmaohu.nikita.data.others;

import com.yanmaohu.nikita.data.expression.Expression;

/**
 * @author Bright Lee
 */
public final class ArrayIndex {

    private int beginIndex;
    private int endIndex;
    private Expression arrayIndex;

    public ArrayIndex(int beginIndex, int endIndex, Expression arrayIndex) {
        this.beginIndex = beginIndex;
        this.endIndex = endIndex;
        this.arrayIndex = arrayIndex;
    }

    public int getBeginIndex() {
        return beginIndex;
    }

    public int getEndIndex() {
        return endIndex;
    }

    public Expression getArrayIndex() {
        return arrayIndex;
    }

}
